<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<%
  String path = request.getContextPath();
  String basePath = request.getScheme() + "://"
      + request.getServerName() + ":" + request.getServerPort()
      + path + "/";
%>

<!DOCTYPE html>
<html>

<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
<meta name="description" content="">
<meta name="author" content="">

<title>设计师登陆</title>

<link href="<%=basePath%>css/admin_login.css" rel="stylesheet" type="text/css" />

<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
      <script src="http://cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>

<body>
  <div class="admin_login_wrap">
    <c:if test="${not empty notice }">
    <div>
      <font color="red">${notice }</font>
    </div>
    </c:if>
    <h1>设计师登陆</h1>
    <div class="adming_login_border">
      <div class="admin_input">
        <form action="/user/loginForm" method="post">
          <input type="hidden" name="from" value="designer">
          <ul class="admin_items">
            <li><label for="user">用户名：</label> <input type="text" name="username" value="admin" id="user" size="34" class="admin_input_style" /></li>
            <li><label for="pwd">密码：</label> <input type="password" name="pwd" value="admin" id="pwd" size="34" class="admin_input_style" /></li>
            <li><input type="submit" tabindex="3" value="提交" class="btn btn-primary" /></li>
          </ul>
        </form>
      </div>
    </div>
    <p class="admin_copyright">
      <a tabindex="5" href="<%=basePath %>index.html" target="_blank">返回首页</a> &copy; 2015 Powered by
    </p>
  </div>
</body>

</html>